package org.sjm.samples.service;

import org.sjm.samples.dao.IExamUserRoleDAO;
import org.sjm.samples.model.ExamUserRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ExamUserRolesServiceImpl implements IExamUserRolesService {

	@Autowired
	private IExamUserRoleDAO examUserRoleDAO;
	
	@Override
	public ExamUserRole getExamUserRoleByUserId(String id) {
		return examUserRoleDAO.getExamUserRoleByUserId(id);
	}

}
